package jwdt.xadmin.work.bean;

import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.NoColumn;
import com.ezerg.db.annotation.Table;

@Table(name="t_email_set", keys={"userid"}, comment="内部邮件")
public class TEmailSet implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="userid", comment="用户id")
	private Integer userid;
	
	@Column(value="hostname", comment="SMTP服务器")
	private String hostname;

	@Column(value="hostport", comment="邮件端口号")
	private Integer hostport;
	
	@Column(value="username", comment="邮箱用户名")
	private String username;

	@Column(value="userpwd", comment="邮箱密码")
	private String userpwd;

	@NoColumn
	private Integer hostssl;

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public Integer getHostport() {
		return hostport;
	}

	public void setHostport(Integer hostport) {
		this.hostport = hostport;
	}

	public String getUserpwd() {
		return userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public Integer getHostssl() {
		return hostssl;
	}

	public void setHostssl(Integer ssl) {
		this.hostssl = ssl;
	}
	
}
